﻿
<!DOCTYPE html>
<html>
<head>
<title>登录</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link href="resources/css/jquery-ui-themes.css" type="text/css"
	rel="stylesheet" />
<link href="resources/css/axure_rp_page.css" type="text/css"
	rel="stylesheet" />
<link href="data/styles.css" type="text/css" rel="stylesheet" />
<link href="files/登录/styles.css" type="text/css" rel="stylesheet" />
<script src="resources/scripts/jquery-1.7.1.min.js"></script>
<script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
<script src="resources/scripts/axure/axQuery.js"></script>
<script src="resources/scripts/axure/globals.js"></script>
<script src="resources/scripts/axutils.js"></script>
<script src="resources/scripts/axure/annotation.js"></script>
<script src="resources/scripts/axure/axQuery.std.js"></script>
<script src="resources/scripts/axure/doc.js"></script>
<script src="data/document.js"></script>
<script src="resources/scripts/messagecenter.js"></script>
<script src="resources/scripts/axure/events.js"></script>
<script src="resources/scripts/axure/action.js"></script>
<script src="resources/scripts/axure/expr.js"></script>
<script src="resources/scripts/axure/geometry.js"></script>
<script src="resources/scripts/axure/flyout.js"></script>
<script src="resources/scripts/axure/ie.js"></script>
<script src="resources/scripts/axure/model.js"></script>
<script src="resources/scripts/axure/repeater.js"></script>
<script src="resources/scripts/axure/sto.js"></script>
<script src="resources/scripts/axure/utils.temp.js"></script>
<script src="resources/scripts/axure/variables.js"></script>
<script src="resources/scripts/axure/drag.js"></script>
<script src="resources/scripts/axure/move.js"></script>
<script src="resources/scripts/axure/visibility.js"></script>
<script src="resources/scripts/axure/style.js"></script>
<script src="resources/scripts/axure/adaptive.js"></script>
<script src="resources/scripts/axure/tree.js"></script>
<script src="resources/scripts/axure/init.temp.js"></script>
<script src="files/登录/data.js"></script>
<script src="resources/scripts/axure/legacy.js"></script>
<script src="resources/scripts/axure/viewer.js"></script>
<script type="text/javascript">
	$axure.utils.getTransparentGifPath = function() {
		return 'resources/images/transparent.gif';
	};
	$axure.utils.getOtherPath = function() {
		return 'resources/Other.html';
	};
	$axure.utils.getReloadPath = function() {
		return 'resources/reload.html';
	};
</script>
<script type="text/javascript">
	function login() {
		var username = document.getElementById("u8_input").value;
		var password = document.getElementById("u9_input").value;
		if (username.length == 0 || password.length == 0) {
			alert("用户名和密码不能为空");
		} else {
			var userInfo = new Object();
			userInfo.username = username;
			userInfo.password = password;
			$.ajax({
				type : "GET",
				url : "../user/login" + "/" + username + "/" + password,
				dataType : "json",
				contentType : "application/json",
				success : function(data) {

					if (data.states != "OK") {
						alert("用户名密码不正确");
					} else {
						window.location.href = "../bootstrap/home.html";

					}
				}
			});
		}
	}
</script>
</head>
<body>
	<div id="base" class="">

		<!-- Unnamed (Image) -->
		<div id="u0" class="ax_image">
			<img id="u0_img" class="img " src="images/登录/u0.png" />
			<!-- Unnamed () -->
			<div id="u1" class="text">
				<p>
					<span></span>
				</p>
			</div>
		</div>

		<!-- Unnamed (形状) -->
		<div id="u2" class="ax_形状">
			<img id="u2_img" class="img " src="images/登录/u2.png" />
			<!-- Unnamed () -->
			<div id="u3" class="text">
				<p>
					<span></span>
				</p>
			</div>
		</div>

		<!-- Unnamed (形状) -->
		<div id="u4" class="ax_h1">
			<img id="u4_img" class="img " src="resources/images/transparent.gif" />
			<!-- Unnamed () -->
			<div id="u5" class="text">
				<p>
					<span>用户名</span>
				</p>
			</div>
		</div>

		<!-- Unnamed (形状) -->
		<div id="u6" class="ax_h1">
			<img id="u6_img" class="img " src="resources/images/transparent.gif" />
			<!-- Unnamed () -->
			<div id="u7" class="text">
				<p>
					<span>密码</span>
				</p>
			</div>
		</div>

		<!-- Unnamed (文本框) -->
		<div id="u8" class="ax_文本框">
			<input id="u8_input" type="text" value="" />
		</div>

		<!-- Unnamed (文本框) -->
		<div id="u9" class="ax_文本框">
			<input id="u9_input" type="password" value="" />
		</div>

		<!-- Unnamed (复选框) -->
		<div id="u10" class="ax_复选框">
			<label for="u10_input"> <!-- Unnamed () -->
				<div id="u11" class="text">
					<p>
						<span>记住我</span>
					</p>
				</div>
			</label> <input id="u10_input" type="checkbox" value="checkbox" />
		</div>

		<!-- Unnamed (形状) -->
		<div id="u12" class="ax_h2">
			<img id="u12_img" class="img " src="resources/images/transparent.gif" />
			<!-- Unnamed () -->
			<div id="u13" class="text">
				<p>
					<span>忘记密码</span>
				</p>
			</div>
		</div>

		<!-- Unnamed (垂直线) -->
		<div id="u14" class="ax_垂直线">
			<img id="u14_start" class="img "
				src="resources/images/transparent.gif" alt="u14_start" /> <img
				id="u14_end" class="img " src="resources/images/transparent.gif"
				alt="u14_end" /> <img id="u14_line" class="img "
				src="images/登录/u14_line.png" alt="u14_line" />
		</div>

		<!-- Unnamed (形状) -->
		<div id="u15" class="ax_h2">
			<img id="u15_img" class="img " src="resources/images/transparent.gif" />
			<!-- Unnamed () -->
			<div id="u16" class="text">
				<p>
					<span>注册</span>
				</p>
			</div>
		</div>

		<!-- Unnamed (形状) -->
		<div id="u17" class="ax_形状">
			<img id="u17_img" class="img " src="images/登录/u17.png"
				onclick="login()" />
			<!-- Unnamed () -->
			<!-- 			<div id="u18" class="text" > -->
			<!-- 				<p> -->
			<!-- 					<span>登&nbsp; &nbsp; 录</span> -->
			<!-- 				</p> -->
			<!-- 			</div> -->
		</div>

		<!-- Unnamed (形状) -->
		<div id="u19" class="ax_形状">
			<img id="u19_img" class="img " src="resources/images/transparent.gif" />
			<!-- Unnamed () -->
			<div id="u20" class="text">
				<p>
					<span></span>
				</p>
			</div>
		</div>
	</div>
</body>
</html>
